Skip to content

store: Move inner merge commit writing to a helper function#1602

Merged
cgwalters merged 1 commit into
bootc-dev:mainfrom
cgwalters:store-cleanups
Sep 12, 2025
Merged

store: Move inner merge commit writing to a helper function#1602
cgwalters merged 1 commit into
bootc-dev:mainfrom
cgwalters:store-cleanups

Conversation

@cgwalters

Copy link
Copy Markdown
Collaborator

No functional changes, prep for further work.

@bootc-bot bootc-bot Bot requested a review from jeckersb September 9, 2025 18:41
@cgwalters cgwalters added the area/ostree Issues related to ostree label Sep 9, 2025

@gemini-code-assist gemini-code-assist Bot left a comment

Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Code Review

This pull request refactors the merge commit writing logic into a new helper function write_merge_commit_impl. The refactoring is clean and achieves its goal of improving code structure for future work. I have a few suggestions to improve the new helper function's implementation for better clarity and robustness.

Comment thread crates/ostree-ext/src/container/store.rs Outdated
Comment thread crates/ostree-ext/src/container/store.rs
Comment thread crates/ostree-ext/src/container/store.rs

@jmarrero jmarrero left a comment

Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

lgtm

No functional changes, prep for further work.

Signed-off-by: Colin Walters <walters@verbum.org>
@cgwalters cgwalters enabled auto-merge September 12, 2025 15:22
@cgwalters cgwalters merged commit 8fe9633 into bootc-dev:main Sep 12, 2025
25 of 37 checks passed
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

area/ostree Issues related to ostree

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants